::-webkit-scrollbar {
    width: 13px;
    height: 13px;
}
::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.4);
    background-clip: padding-box;
    border: 3px solid transparent;
    border-radius: 7px;
}
::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.5);
}
::-webkit-scrollbar-track {
    background-color: transparent;
}
::-webkit-scrollbar-track:hover {
    background-color: #f8fafc;
}
html,
body {
    height: 100%;
}
body {
    margin: 0;
    color: #333;
    background-color: $g-app-bg;
    box-sizing: border-box;
    font-family: Lato, PingFang SC, Microsoft YaHei, sans-serif;
    -webkit-tap-highlight-color: transparent;
    &.hidden {
        overflow: hidden;
    }
}
* {
    box-sizing: inherit;
}
// textarea 字体跟随系统
textarea {
    font-family: inherit;
}
.icon-hover {
    &:hover {
        cursor: pointer;
        color: $g-main-sidebar-bg;
    }
}
.primary {
    background-color: $g-main-sidebar-bg;
    border-color: $g-main-sidebar-bg;
}
.el-button--primary:focus,
.el-button--primary:hover {
    background: #66b1ff;
    border-color: #66b1ff;
    color: #fff;
}
.message-box {
    i {
        padding: 0 5px;
        color: #66b1ff;
        font-size: 18px;
    }
    .el-icon-loading {
        font-size: 12px;
    }
    .el-button {
        padding: 7px 15px;
    }
    .el-button--primary {
        background: #66b1ff;
        border-color: #66b1ff;
        &:hover {
            background-color: $g-main-sidebar-bg;
            border-color: $g-main-sidebar-bg;
            color: #fff;
        }
        &:focus {
            background-color: $g-main-sidebar-bg;
            border-color: $g-main-sidebar-bg;
            color: #fff;
        }
    }
}
